<template>
  <van-tabbar v-model="active" route active-color="#ee0a24">
    <van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
    <van-tabbar-item icon="search" to="/category">分类</van-tabbar-item>
    <van-tabbar-item icon="friends-o" to="/cart">购物车</van-tabbar-item>
    <van-tabbar-item icon="setting-o" to="/mine">我的</van-tabbar-item>
  </van-tabbar>

</template>

<script setup>
import {ref} from 'vue'
const active = ref(0);
</script>

<style lang="scss" scoped>

</style>